
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>Market place</title>
</head>
<body>
	<ui:composition template="/templates/masterTemplate.xhtml">
		<ui:define name="content">
			<h:outputStylesheet library="css" name="login.css"></h:outputStylesheet>
			<div id="center">
				<div id="loginInfo">
					<h:outputText value="#{msgs.notLoginYet} !!!" style="color:green"></h:outputText>
					<p:separator></p:separator>
					<form method="post" action="j_spring_security_check">
						<h:panelGrid columns="2" style="width:100%">
							<h:outputLabel style="float:left" value="#{msgs.email}" />
							<h:inputText id="j_username" style="width:200px;float:left;" />
							<h:outputLabel value="#{msgs.password}" style="float:left;" />
							<h:panelGroup>
								<h:inputSecret id="j_password" required="true"
									requiredMessage="*****" style="width:200px;float:left;">
								</h:inputSecret>
							</h:panelGroup>
							<h:inputHidden></h:inputHidden>
							<h:commandButton value="#{msgs.login}" type="submit"
								style="float:left" />
						</h:panelGrid>
					</form>
					<p:separator></p:separator>
					<h:form id="centerForm">
						<h:panelGrid columns="2" style="width:100%">
							<h:commandLink value="#{msgs.notMember}" type="submit"
								style="float:left" immediate="true"
								action="/public/register.xhtml?faces-redirect=true" />
							<h:commandLink value="#{msgs.forgetPassword}" type="submit"
								style="float:left" immediate="true"
								action="/public/passwordRecover.xhtml?faces-redirect=true" />
						</h:panelGrid>
					</h:form>


				</div>
			</div>
		</ui:define>
	</ui:composition>
</body>

</html>